class = require"class";
local Network = require"network";

local network;
local time = 2
local timer = 0

function love.load()
    network = Network("127.0.0.1",23333);
end

function love.update(dt)
    timer = timer + dt;
    if timer >= time then
        timer = 0;
        network:ClearShell()
        network:PrintInfoPanel()
    end
    network.sock:update();
end